package main

import (
	"fmt"
)

type Student struct {
	Name string
	Age int
}

func (stu *Student) String() string {
	return fmt.Sprintf("Name: %v, Age: %v", stu.Name, stu.Age)
}

func main() {
	stu := Student {
		Name : "张三",
		Age : 18,
	}

	fmt.Println(&stu)
}